package cn.iocoder.yudao.module.trade.service.giftcard;

import cn.iocoder.yudao.module.trade.dal.dataobject.giftcard.GiftCardReceiveGiveDO;

import java.util.List;

public interface GiftCardReceiveGiveService {

    List<GiftCardReceiveGiveDO> queryGiftCardReceiveGiver(Long receiveMemberUserId);

    List<GiftCardReceiveGiveDO> queryGiftCardReceiveGiverTime(Long giftCardId);

    void saveOrUpdateGiftCardReceiveGiveDO(GiftCardReceiveGiveDO giftCardReceiveGive);

    GiftCardReceiveGiveDO queryByCardId(Long cardId);

    Long countGiveReceiveByCardId(Long cardId);

    void deleteGiveReceiveByCardId(Long cardId);
}
